package com.gxgeek.javabasic.ClassLoader;

/**
 * @author gaoxing
 * @create 2018-06-07 下午5:49
 */
public class StaticTest {
    static StaticTest st = new StaticTest();
    static {
        System.out.println("1");
    }

    {
        System.out.println("2");
    }
    int a = 110;

    static int b = 112;

    StaticTest() {
        System.out.println("3");
        System.out.println("a=" + a + ",b=" + b);
    }

    public static void main(String[] args) {
        staticFunction();
    }



    public static void staticFunction() {
        System.out.println("4");
    }


}
